package com.alan.springBoot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("view")
public class ViewController {

	@RequestMapping("hello")
	public String hello(Model model){
		model.addAttribute("name", "aaaaa");
		return "hello";
	}
	
}
